## -*- coding: utf-8 -*-


## Collection manage
## All collections, see upload.py

%script#collection-item-template(type="text/template")
  %td.folder(Id="{{id}}") %h4#collection
    %a#folder-name(href="#file-list/{{title}}")
      %i.fi-folder
        {{title}} |


    %input#folder-edit(value="{{title}}", type="text")

    ## !!LIFO
    %span.label.right {{date}}
    %a#delete.fi-trash.right
    %a#upload-to.fi-upload-cloud.right(href="#upload-file/{{title}}")
    %a#folder-edit-btn.right %i.fi-pencil



%table.medium-12.columns
  %thead %tr
    %dl.sub-nav

    ## !!LIFO
      %dt.right
        #folder-create.row.collapse
          .medium-9.columns
            %input(type="text", placeholder="Name")
          .medium-3.columns
            %button#ok.postfix ok
      %dt.right
        %a#folder-new.fi-plus.button.tiny

  %tbody#folder-grid

%a#collections-prev.button.small-6.columns.tiny.fi-arrow-left
%a#collections-next.button.small-6.columns.tiny.fi-arrow-right

